﻿using System.ComponentModel;
namespace Futaba.SBus.Telemetry.Configuration
{
	/// <summary>
	/// The ID of known sensors as they are used in futaba's FLI files
	/// </summary>
	public enum SensorType : byte
	{
		/*
		0x00 = RECEIVER: BATTERY;EXTERNAL BATTERY;STATUS
		0x02 = VOLTAGE SENSOR: BATTERY;EXT. BATT.
		0x04 = RPM SENSOR: ROTATION
		0x80 = TEMPERATURE F1713: TEMPERATURE
		0x81 = GPS SENSOR: DISTANCE;SPEED;ALTITUDE;VARIOMETER;LATITUDE;LONGITUDE
		0x84 = CURRENT SENSOR (CUR-F1678): CURRENT;VOLTAGE;CAPACITY
		*/
#pragma warning disable 1591
		[Description("RECEIVER")]
		Receiver = 0x0,
		[Description("VOLTAGE SENSOR")]
		VoltageSensor = 0x02,
		[Description("RPM SENSOR")]
		RpmSensor = 0x04,
		[Description("TEMPERATURE F1713")]
		TemperatureSensor = 0x80,
		[Description("GPS SENSOR;GPS F1675")]
		GpsSensor = 0x81,
		[Description("CURRENT SENSOR;CUR-F1678")]
		CurrentSensor = 0x84,
		Unknown = 0xff
#pragma warning restore 1591
	}
}
